//
//  LSZQuestionParticipantDetailsInterfaceManager.m
//  PartyClassCloud
//
//  Created by 梁素珍 on 2018/9/5.
//  Copyright © 2018年 九酷. All rights reserved.
//

#import "LSZQuestionParticipantDetailsInterfaceManager.h"

@implementation LSZQuestionParticipantDetailsInterfaceManager
-(id)initWithQuestionParticipantDetailsInterface :(NSArray *)array
{
    self = [super init];
    if (self) {
        self.mutMgArray = [[NSMutableArray alloc]init];
        NSMutableArray * mutArrayData = [[NSMutableArray alloc]init];
        for (NSDictionary * dic in array) {
            LSZQuestionParticipantDetailsInterfaceMg * mg = [[LSZQuestionParticipantDetailsInterfaceMg alloc]init];
            mg.id_id = NullStringjudgment(NSStr(dic[@"id"]));
            mg.content = NullStringjudgment(NSStr(dic[@"content"]));
            mg.publishTime = NullStringjudgment(NSStr(dic[@"publishTime"]));
            if ([[dic allKeys] containsObject:@"customerUrl"]) {
                mg.headUrl = [NSString stringWithFormat:@"%@%@",URLTotalWeb,NullStringjudgment(NSStr(dic[@"customerUrl"]))];
            }else{
                mg.headUrl = @"";
            }
            if ([[dic allKeys] containsObject:@"customerName"]) {
                mg.realName = NullStringjudgment(NSStr(dic[@"customerName"]));
            }else{
                mg.realName = @"";
            }
            [mutArrayData addObject:mg];
        }
        self.mutMgArray = mutArrayData;
        
    }
    return self;
}
@end
@implementation LSZQuestionParticipantDetailsInterfaceMg
@end
